<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%--@ taglib prefix="spring" uri="http://www.springframework.org/tags" --%>
<%--@ taglib prefix="form" uri="http://www.springframework.org/tags/form" --%>
<%--@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" --%>
<%--@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" --%>

<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<sx:head debug="true"/>
<title>登录</title>
</head>
<body>
<%-- <form:form action="login" modelAttribute="user" > --%>
<%-- <form:errors></form:errors> --%>
<s:form action="login" validate="true">
<table>
	<tr>
		<td>用户名</td>
		<td><s:textfield name="user.name" /></td>
	</tr>

	<tr>
		<td>密码</td>
		<td><s:password name="user.password" /></td>
	</tr>
	<tr>
		<td></td>
		<td><s:submit label="提交"  /> </td>
	</tr>
</table>
</s:form>
<%-- </form:form> --%>

</body>
</html>